table {
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 0;
}

th, td {
    padding: 8px 12px;
    border: 1px solid black;
    text-align: center;
}

th {
    background-color: gray;
    color: chartreuse;
}

table tbody tr:last-child td {
    text-align: right;
    border: none;
}